package com.buildings.bean;

import java.util.List;

public class FormListBean {
    /*
    {
        "total":2,
        "rows":[
            {
                "fwId":"1f5a972fbf754228a6369ec06cfbef32",
                "taskId":"1",
                "bulidingLongitude":"95.7438",
                "bulidingLatitude":"39.8217",
                "buildingName":"",
                "formId":"01e4a74a8a0d4491a7b46a624cb3d047",
                "createUserId":null,
                "createTime":"2020-05-16T16:00:00.000+0000",
                "bulidingType":"2",
                "spType":"0",
                "isValid":"1"
            },
            {
                "fwId":"327e8cc11bd048028775d2045b1313f0",
                "taskId":"1",
                "bulidingLongitude":"95.7356",
                "bulidingLatitude":"39.8247",
                "buildingName":"",
                "formId":"818de94aeaef48f3a6fec8b55381a95f",
                "createUserId":null,
                "createTime":"2020-05-16T16:00:00.000+0000",
                "bulidingType":"3",
                "spType":"0",
                "isValid":"1"
            }
        ],
        "message":"查询成功"
    }
     */

    private int total;

    private List<FormBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<FormBean> getRows() {
        return rows;
    }

    public void setRows(List<FormBean> rows) {
        this.rows = rows;
    }


    public class FormBean{
        /*
        {
                "fwId":"1f5a972fbf754228a6369ec06cfbef32",
                "taskId":"1",
                "bulidingLongitude":"95.7438",
                "bulidingLatitude":"39.8217",
                "buildingName":"",
                "formId":"01e4a74a8a0d4491a7b46a624cb3d047",
                "createUserId":null,
                "createTime":"2020-05-16T16:00:00.000+0000",
                "bulidingType":"2",
                "spType":"0",
                "isValid":"1"
            }
         */

        private boolean checked;
        private String fwId;
        private String taskId;
        private String bulidingLongitude;
        private String bulidingLatitude;
        private String buildingName;
        private String formId;
        private String createUserId;
        private String createTime;
        private String bulidingType;
        private String spType;//表单状态
        private String isValid;
        private String isSaveAll;//是否已经全部完善该表单 是否填完0、否  1、是
        private boolean isCommitTips;//批量提交未完善表单时提示标红标识

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getFwId() {
            return fwId;
        }

        public void setFwId(String fwId) {
            this.fwId = fwId;
        }

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }

        public String getBulidingLongitude() {
            return bulidingLongitude;
        }

        public void setBulidingLongitude(String bulidingLongitude) {
            this.bulidingLongitude = bulidingLongitude;
        }

        public String getBulidingLatitude() {
            return bulidingLatitude;
        }

        public void setBulidingLatitude(String bulidingLatitude) {
            this.bulidingLatitude = bulidingLatitude;
        }

        public String getBuildingName() {
            return buildingName;
        }

        public void setBuildingName(String buildingName) {
            this.buildingName = buildingName;
        }

        public String getFormId() {
            return formId;
        }

        public void setFormId(String formId) {
            this.formId = formId;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getBulidingType() {
            return bulidingType;
        }

        public void setBulidingType(String bulidingType) {
            this.bulidingType = bulidingType;
        }

        public String getSpType() {
            return spType;
        }

        public void setSpType(String spType) {
            this.spType = spType;
        }

        public String getIsValid() {
            return isValid;
        }

        public void setIsValid(String isValid) {
            this.isValid = isValid;
        }

        public String getIsSaveAll() {
            return isSaveAll;
        }

        public void setIsSaveAll(String isSaveAll) {
            this.isSaveAll = isSaveAll;
        }

        public boolean isCommitTips() {
            return isCommitTips;
        }

        public void setCommitTips(boolean commitTips) {
            isCommitTips = commitTips;
        }
    }
}
